package com.ruoyi.health.report.action;

import com.ruoyi.common.core.enums.ImageFieldEnum;

import java.lang.annotation.*;

/**
 * @author ChenYF
 * @date 2025-09-08 11:17
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SaveImageAction {

    ImageFieldEnum imageKey();

    /**
     * 过期时间（秒）
     */
    long expireTime() default 3600; // 默认1小时
}
